CMP#.DIR
Description
CMP#.DIR sets the direction the source value must change through the setpoint start value in order to satisfy the comparison and set the digital output.
It takes two command line arguments: the first specifies the setpoint, and the second specifies the direction.
Examples
Usage
1: Increasing direction, positive velocity
2: Decreasing direction, negative velocity
3: Both directions (default)
Code
These commands set increasing direction for setpoint 3 of channel 1, and both directions for setpoint 6 of channel 2.
--> CMP1.DIR 3 1
--> CMP2.DIR 6 3
Context
See Compare Engines View.
Versions
| Action | Version | Notes |
|---|---|---|
| Implemented | 02-06-00-000 |
General Information
|
Type |
Read/Write |
|
Units |
N/A |
|
Range |
1 to 3 |
|
Default Value |
3 |
|
Data Type |
Integer |
|
See Also |
|
|
Stored in Non-Volatile Memory |
Yes |
Variants Supported
All variants are supported.
Industrial Ethernet Information
|
ID |
Instance |
Attribute |
Name |
Data Type |
Access |
User Mappable |
|---|---|---|---|---|---|---|
|
31320 |
1 |
31320 (0x7a58) |
CMP1.DIR |
Unsigned8[8] |
Read/Write |
Yes |
|
31321 |
1 |
31321 (0x7a59) |
CMP2.DIR |
Unsigned8[8] |
Read/Write |
Yes |
|
Parameter |
PNU |
Data Type |
Access |
Units |
|---|---|---|---|---|
|
CMP1.DIR |
31320 |
Unsigned8[8] |
Read/Write |
- |
|
CMP2.DIR |
31321 |
Unsigned8[8] |
Read/Write |
- |





